/*
 * @Author: xiaohai zmhwork@qq.com
 * @Date: 2022-06-24 15:12:36
 * @LastEditors: xiaohai zmhwork@qq.com
 * @LastEditTime: 2022-06-24 15:13:16
 * @FilePath: \modeltools\conf\conf.go
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package conf

// model保存路径
const ModelPath = "./models/"

// 是否覆盖已存在model
const ModelReplace = true

// 数据库驱动
const DriverName = "mysql"

type DbConf struct {
	Host   string
	Port   string
	User   string
	Pwd    string
	DbName string
}

// 数据库链接配置
var MasterDbConfig DbConf = DbConf{
	Host:   "127.0.0.1",
	Port:   "3306",
	User:   "root",
	Pwd:    "root",
	DbName: "applet_main_lib",
}
